package com.soap.commons;

/**
 * @Description
 * @Author ZhangPY
 * @Date 2020/7/2
 */
public class ESSourceCommons {


    public static final String userSource = "{\n" +
            " \t\"properties\": {\n" +
            "            \"id\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"nick_name\": {\n" +
            "              \"type\": \"text\",\n" +
            "              \"analyzer\":\"ik_max_word\",\n" +
            "              \"search_analyzer\":\"ik_max_word\"\n" +
            "           },\n" +
            "           \"phone_num\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"user_name\": {\n" +
            "              \"type\": \"text\",\n" +
            "              \"analyzer\":\"ik_max_word\",\n" +
            "              \"search_analyzer\":\"ik_max_word\"\n" +
            "           },\n" +
            "           \"password\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"verification_code\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"priority\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"role_id\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"is_locked\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"is_delete\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"company_id\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"create_user_id\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"create_time\":{\n" +
            "             \"type\":\"date\",\n" +
            "             \"format\":\"yyyy-MM-dd HH:mm:ss\"\n" +
            "           },\n" +
            "           \"update_user_id\":{\n" +
            "             \"type\":\"keyword\"\n" +
            "           },\n" +
            "           \"update_time\":{\n" +
            "             \"type\":\"date\",\n" +
            "             \"format\":\"yyyy-MM-dd HH:mm:ss\"\n" +
            "           },\n" +
            "           \"remark\": {\n" +
            "              \"type\": \"text\",\n" +
            "              \"analyzer\":\"ik_max_word\",\n" +
            "              \"search_analyzer\":\"ik_smart\"\n" +
            "           }\n" +
            " \t}\n" +
            "}";
}
